package cn.aran.org.service;

import cn.aran.org.domain.Shop;
import cn.aran.basic.service.IBaseService;
import cn.aran.org.domain.ShopAuditLog;

import javax.mail.MessagingException;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author aran
 * @since 2022-07-01
 */
public interface IShopService extends IBaseService<Shop> {

    void settlement(Shop shop);

    void pass(ShopAuditLog shopAuditLog) throws MessagingException;

    void reject(ShopAuditLog shopAuditLog) throws MessagingException;

    Map<String, Object> loadEcharts();

    void active(Long id);

    void refuse(ShopAuditLog shopAuditLog) throws MessagingException;

    void batchSave(List<Shop> shops);
}
